package com.zy.datareceiver.binsess.monitoring.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "monitoring_point_group")
public class MonitoringPointGroup {
    /**
     * 中间表id
     */
    @Id
    private Integer id;

    /**
     * 监测点id
     */
    @Column(name = "point_id")
    private Integer pointId;

    /**
     * 监测类型id
     */
    @Column(name = "group_id")
    private Integer groupId;

    /**
     * 获取中间表id
     *
     * @return id - 中间表id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置中间表id
     *
     * @param id 中间表id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取监测点id
     *
     * @return point_id - 监测点id
     */
    public Integer getPointId() {
        return pointId;
    }

    /**
     * 设置监测点id
     *
     * @param pointId 监测点id
     */
    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }

    /**
     * 获取监测类型id
     *
     * @return type_id - 监测类型id
     */
    public Integer getTypeId() {
        return groupId;
    }

    /**
     * 设置监测类型id
     *
     * @param groupId 监测类型id
     */
    public void setTypeId(Integer groupId) {
        this.groupId = groupId;
    }
}